<extend name='Public:layout' />
<block name='main-content'>	
<div class="daohang">
	<ul>
		<li><button type="button" class="am-btn am-btn-default am-radius am-btn-xs"> 首页 </li>
		<li><button type="button" class="am-btn am-btn-default am-radius am-btn-xs">用户信息<a href="javascript: void(0)" class="am-close am-close-spin" data-am-modal-close="">×</a></button></li>
	</ul>
</div>
<div class="admin-biaogelist">
	<div class="listbiaoti am-cf">
		<ul class="am-icon-user on"> 修改用户信息</ul>
		<dl class="am-icon-home" style="float: right;"> 当前位置： 首页 > <a href="#">修改用户信息</a></dl>
	</div>
	<div class="fbneirong">
		<form class="am-form" action="__ACTION__" method="post" enctype="multipart/form-data">
			<div class="am-form-group am-cf">
			  <div class="zuo">用户名：</div>
			  <div class="you">
			    <input type="text" class="am-input-sm" id="doc" name="username" value="{$user[username]}" placeholder="" style="width:300px;"> <input type='hidden' name='id' value="{$user['id']}" />
			  </div>
			</div>
			<div class="am-form-group am-cf">
			  <div class="zuo">昵称：</div>
			  <div class="you">
			    <input type="text" class="am-input-sm" name="nickname" value="{$user[nickname]}" id="doc" placeholder="" style="width:300px;"> <input type='hidden' name='id' value="{$user['id']}" />
			  </div>
			</div>
				<div class="am-form-group am-cf">
			  <div class="zuo">密码：</div>
			  <div class="you">
			    <input type="password" class="am-input-sm" name="password" id="doc" placeholder="" style="width:300px;"> <input type='hidden' name='id' value="{$user['id']}" />
			  </div>
			</div>
			<div class="am-form-group am-cf">
			  <div class="zuo">确认密码：</div>
			  	<div class="you">
			  		<input type="password" name=repassword class="am-input-sm" id="doc-ipt-pwd-1" placeholder="" style="width:300px;"> <input type='hidden' name='id' value="{$user['id']}" />
			  	</div>
			</div>
			<div class="am-form-group am-cf">
			  <div class="zuo">邮箱：</div>
				  <div class="you">
				  	<input type="email" name="email" class="am-input-sm" value="{$user[email]}" id="doc-ipt-pwd-1" placeholder="" style="width:300px;"> <input type='hidden' name='id' value="{$user['id']}" />
				  </div>
			</div>

			<div class="am-form-group am-cf">
			  <div class="zuo">手机号：</div>
			  <div class="you">
			    <input type="text" class="am-input-sm" id="doc-ipt-pwd-1" value="{$user[phone]}" name="phone" placeholder="" style="width:300px;"> <input type='hidden' name='id' value="{$user['id']}" />
			  </div>
			</div>

			<div class="am-form-group am-cf">
			  <div class="zuo">用户头像：</div>
			  <div class="you">
			  	<div style="width:150px;height:150px;border:1px;"> <img src="__PUBLIC__/Upload/{$user['profile']}" width="150" height="150"></div>
			    <input type="file" class="am-input-sm" id="doc-ipt-pwd-1" value="{$user['profile']}"  name="profile" placeholder=""> <input type='hidden' name='id' value="{$user['id']}" />
			    <p class="am-form-help">请选择要上传的头像...格式为jpg/png/bmp/jpeg</p>

			  </div>
			</div>


			<div class="am-form-group am-cf">
				<div class="zuo">权限：</div>
				<div class="you" style="margin-top: 5px;">
					<select style="width:300px;" class="am-input-sm" name="auth">
						<option value="2">普通用户</option>
						<option value="1">管理员</option>

						<!-- <option>3333</option> -->
				</select>
				</div>
			</div> 
			<div class="am-form-group am-cf">
			  <div class="you" style="margin-left: 11%;">
			      <input type="submit" class="am-btn am-btn-success am-radius" name="sub" value="添加">&nbsp; &nbsp; <input type="reset" class="am-btn am-btn-secondary am-radius" value="重置">
			      <input type='hidden' name='id' value="{$user['id']}" />

			  </div>
			</div>
		</form>
	</div>
</div>



</block>